<?php
/*
*	公共底部
*/
?>

<!-- 底部 -->
<div class="pai_bottom_div">
    <div class="pai_bottom_box">
        <img src="<?php echo get_template_directory_uri();?>/hz_index/images/bottom_logo.png" alt="" class="pai_bottom_logo">
        <a href="tel:023-62625352" class="pai_bottom_phone"><?php the_field('tel','options');?></a>
        <div class="pai_bottom_click">
            <img src="<?php echo get_template_directory_uri();?>/hz_index/images/phone.png" alt="">
            <p>点击拨打美丽热线</p>
        </div>
        <p class="pai_bottom_address"><?php the_field('address','options');?><br>门诊时间：9:00-19:00</p>
        <p class="pai_bottom_register">医疗广告审查证明|<?php the_field('ad_number','options');?><br>   备案号：<?php the_field('icp','options');?></p>
    </div>
    <!--    粤(b)广【2020】第06-15-227号    渝ICP备16005478号-->
</div>
<!-- 底部tab -->
<div class="pai_footer">
    <div class="pai_footer_box">
        <a href="<?php echo "http://{$_SERVER['HTTP_HOST']}" ?>"><i></i><span>首页</span></a>
        <a href="<?php echo "http://{$_SERVER['HTTP_HOST']}/hz_project" ?>"><i></i><span>项目</span></a>
        <a href="<?php echo get_field('bot_minddle','options')[0]['url'];?>"><img src="<?php echo get_field('bot_minddle','options')[0]['img'];?>" alt=""></a>
        <a href="<?php the_field('swt_link','options'); ?>"><i></i><span>医生</span></a>
        <a href="<?php the_field('swt_link','options'); ?>"><i></i><span>咨询</span></a>
    </div>
</div>
<style>
    .pai_bottom_div{
        margin-bottom: 1.2rem;
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }
    .pai_bottom_box{
        background: #AF8F5B;
        padding-bottom: .76rem;
        box-shadow:inset 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    .pai_bottom_box .pai_bottom_logo{
        width: 3.3rem;
        display: inline-block;
        margin-top: .76rem;
    }
    .pai_bottom_box .pai_bottom_phone{
        font-size: .45rem;
        line-height: .6rem;
        color: #FFFFFF;
        display: block;
        font-weight: bold;
    }
    .pai_bottom_box .pai_bottom_click{
        width: 3.3rem;
        height: .58rem;
        background: #FFFFFF;
        border-radius: .24rem;
        display: inline-block;
    }
    .pai_bottom_box .pai_bottom_click img{
        width: .39rem;
        display: inline-block;
        margin-top: .1rem;
    }
    .pai_bottom_box .pai_bottom_click p{
        font-size: .28rem;
        line-height: .58rem;
        color: #af8f5b;
        display: inline-block;
    }
    .pai_bottom_box  .pai_bottom_address{
        font-size: .2rem;
        line-height: .26rem;
        color: #FFFFFF;
        font-weight: 200;
        margin-top: .1rem;
    }
    .pai_bottom_box .pai_bottom_register{
        font-size: .18rem;
        line-height: .24rem;
        color: #FFFFFF;
        font-weight: 200;
        margin-top: .54rem;
    }
    .pai_footer{
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        position: fixed;
        left: 50%;
        transform: translate(-50%,0);
        bottom: 0;
        z-index: 11;
        overflow: visible !important;
        max-width: 640px;
        height: 1.20rem;
        border-top: 1px solid #ccc;
        background: linear-gradient(180deg,#ffffff,#f6f6f6,#e3e3e3);
    }
    .pai_footer_box{
        height: 1.2rem;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 2%;
    }
    .pai_footer_box a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 18%;
        height: 100%;
    }
    .pai_footer_box a:nth-child(1) i{
        width: .26rem;
        height: .26rem;
        background: url(<?php echo get_template_directory_uri();?>/hz_index/images/index.png) no-repeat center;
        background-size: 100% 100%;
    }
    .pai_footer_box a:nth-child(2) i{
        width: .28rem;
        height: .25rem;
        background: url(<?php echo get_template_directory_uri();?>/hz_index/images/xm.png) no-repeat center;
        background-size: 100% 100%;
    }
    .pai_footer_box a:nth-child(3){
        width: 28%;
        position: relative;
    }
    .pai_footer_box a:nth-child(3) img{
        position: absolute;
        left: 6.8%;
        top: -0.5rem;
        width: 1.55rem;
        height: 1.55rem;
    }
    .pai_footer_box a:nth-child(4) i {
        width: .24rem;
        height: .31rem;
        background: url(<?php echo get_template_directory_uri();?>/hz_index/images/doc.png) no-repeat center;
        background-size: 100% 100%;
    }
    .pai_footer_box a:nth-child(5) i {
        width: .25rem;
        height: .32rem;
        background: url(<?php echo get_template_directory_uri();?>/hz_index/images/zixun.png) no-repeat center;
        background-size: 100% 100%;
    }
    .pai_footer_box a span {
        font-size: .2rem;
        color: rgb(68, 68, 68);
        line-height: .4rem;
        text-align: center;
    }
</style>


<script src="<?php echo get_template_directory_uri();?>/hz_index/js/jQuery.min.js"></script>
<script src="<?php echo get_template_directory_uri();?>/hz_index/js/flexible.js"></script>
<script src="<?php echo get_template_directory_uri();?>/hz_index/js/lib/swiper-bundle.min.js"></script>
<script src="<?php echo get_template_directory_uri();?>/hz_index/js/index.js"></script>

<!--<script language="javascript" src="https://dqt.zoosnet.net/JS/LsJS.aspx?siteid=DQT60721914&lng=cn"></script>-->
<?php
wp_footer();
//商务通统计代码   商务通统计代码、此代码不可以删除、否则导致商务通无法咨询和统计不到用户轨迹
the_field('swt_js','options');
//其他统计代码  百度统计
the_field('Code_Statistics','options');
?>
